package config

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/redis"
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	rest.RestConf
	JwtAuth struct {
		AccessSecret string
		AccessExpire int64
	}
	Cache cache.CacheConf
	DB    struct {
		DataSource string
	}
	RedisConf redis.RedisConf
	Sms       struct {
		Id    string
		Key   string
		AppId string
	}

	DeviceRpcConf zrpc.RpcClientConf
}
